package top.wshape1.shiziapi.project.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName t_project_api_content
 */
@TableName(value ="t_project_api_content")
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude
public class ApiContent implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * API文档的主键ID
     */
    private Long apiId;

    /**
     * 显示的标签名字
     */
    private String label;

    /**
     * 内容名称（0参数内容，1描述内容）
     */
    private Integer type;

    /**
     * 排列顺序
     */
    @TableField("`order`")
    private Integer order;

    /**
     * 参数内容
     */
    private Object params;

    /**
     * 描述内容
     */
    private String content;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}